package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Attendance;
import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.AttendanceQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.shiro.subject.PrincipalCollection;

import java.util.Date;
import java.util.List;

public interface IAttendanceService {
    int deleteByPrimaryKey(Long id);

    int insert(Attendance record);

    Attendance selectByPrimaryKey(Long id);

    List<Attendance> selectAll();

    int updateByPrimaryKey(Attendance record);

    PageResult query(AttendanceQueryObject qo);

    void onState();

    void downState();

    void signUp(Date selectDate,Long employeeId);
}
